<!DOCTYPE html>
<html>
<head>
	<title>角色管理</title>
	<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="Author" content="larry" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="../../statics/common/cascader/cascader/cascader.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/layui.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/autocomplete.css">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/soulTable.css">
<link rel="stylesheet" type="text/css" href="../../statics/plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/common.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/list-search-table.css">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-soul-table/docs/soulTable.css" media="all"/>-->
<script type="text/javascript" src="../../statics/plugins/jquery.min.js"></script>
<script type="text/javascript" src="../../statics/common/lib/vue.min.js"></script>
<script type="text/javascript" src="../../statics/plugins/ztree/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="../../statics/common/layui/layui.all.js"></script>
<script type="text/javascript" src="../../statics/common/js/axios.min.js"></script>
<script type="text/javascript" src="../../statics/common/js/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/common.js"></script>
<script type="text/javascript" src="../../statics/js/upload.js"></script>
<script type="text/javascript" src="../../statics/common/step/steps.js"></script>
<link rel="stylesheet" href="../../statics/css/jxcPublicAll.css"  media="all">
<link href="../../statics/common/photoviewer/dist/photoviewer.css" rel="stylesheet">
<link rel="stylesheet" href="../../statics/common/step/steps.css">
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.css" media="all">-->
<link rel="stylesheet" href="../../statics/js/modules/cropper/cropper.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/css/viewer.min.css">
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.min.js"></script>-->
<script src="../../statics/js/modules/cropper/cropper.min.js"></script>
<script src="../../statics/common/photoviewer/dist/photoviewer.js"></script>
<script src="../../statics/common/layui/autocomplete.js"></script>
<script  src="../../statics/js/modules/viewer/viewer.min.js"></script>
<script src="../../statics/common/print-js/print.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../statics/common/print-js/print.min.css">
<script type="text/javascript" src="../../statics/common/xmselect/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/searchview.js"></script>
<script type="text/javascript" src="../../statics/js/tableedit.js"></script>

<!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.0&type=webgl&ak=eo4XeZhRKHsQ0NOe6u6NkKscmRsk416B"></script>-->

<!-- 引入组件库 -->
<link rel="stylesheet" type="text/css" href="../../statics/css/index.css">






	<style>
		.lfls {
			background-color: #e6e6e6;text-align: left;margin-right: 20px;
		}
		.libs {
			line-height: 35px;
		}
		.liics {
			border: 1px solid #e6e6e6;padding:15px;
		}
		.ztree li ul.line{ height: 80%; }
	</style>
</head>
<body class="ren-body">
<div id="rrapp" v-cloak>
	<!-- 表单 -->
	<form v-show="showForm" class="layui-form ren-form" id="editForm">
		<div class="form-content-box">
			<div class="list-search-sup-title new-layui-title border-bottom-dashed">
				角色基本信息
			</div>
			<div class="form-content-session-box">
				<div class="card">
					<div class="layui-row layui-form-row-content">
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label">角色名称<span style="color:red;">*</span>：</label>
							<div class="layui-input-inline">
								<input type="text" lay-verify="roleName" v-model="role.roleName" maxlength="50" placeholder="角色名称" class="layui-input">
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label">角色描述：</label>
							<div class="layui-input-inline">
								<textarea v-model="role.remark" class="layui-textarea" placeholder="角色描述"></textarea>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="form-content-box">
			<div class="list-search-sup-title new-layui-title border-bottom-dashed">
				APP功能操作权限
			</div>
			<div class="form-content-session-box">
				<div class="card">
					<div class="layui-row layui-form-row-content">
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">控制台-提醒事件:</label>
							<div class="layui-input-block libs" >
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in reminderList" type="checkbox" name="reminder" v-model="role.reminderList" lay-filter="reminder" :value="item.id" :title="item.value" lay-skin="primary" >
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">控制台-日常工具:</label>
							<div class="layui-input-block libs" >
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in dailyToolList" type="checkbox" name="dailyTool" v-model="role.dailyToolList" lay-filter="dailyTool" :value="item.id" :title="item.value" lay-skin="primary" >
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">控制台-车辆管理:</label>
							<div class="layui-input-block libs" >
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in vehicleManagementList" type="checkbox" name="vehicleManagement" v-model="role.vehicleManagementList" lay-filter="vehicleManagement" :value="item.id" :title="item.value" lay-skin="primary" >
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">控制台-销售管理:</label>
							<div class="layui-input-block libs">
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in salesManagementList" type="checkbox" name="salesManagement"
										   v-model="role.salesManagementList" lay-filter="salesManagement"
										   :value="item.id" :title="item.value" lay-skin="primary">
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">控制台-渠道管理:</label>
							<div class="layui-input-block libs">
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in channelManagement" type="checkbox" name="channelList"
										   v-model="role.channelManagement" lay-filter="channelManagement"
										   :value="item.id" :title="item.value" lay-skin="primary">
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">车辆按钮操作权限:</label>
							<div class="layui-input-block libs">
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in carButtonList" type="checkbox" name="carButton"
										   v-model="role.carButtonList" lay-filter="carButton" :value="item.id"
										   :title="item.value" lay-skin="primary">
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">车辆详情操作权限:</label>
							<div class="layui-input-block libs">
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in carDetailList" type="checkbox" name="carDetail" v-model="role.carDetailList" lay-filter="carDetail" :value="item.id" :title="item.value" lay-skin="primary" >
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">订单按钮操作权限:</label>
							<div class="layui-input-block libs" >
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in orderButtonList" type="checkbox" name="orderButton" v-model="role.orderButtonList" lay-filter="orderButton" :value="item.id" :title="item.value" lay-skin="primary" >
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">订单详情操作权限:</label>
							<div class="layui-input-block libs" >
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in orderDetailList" type="checkbox" name="orderDetail" v-model="role.orderDetailList" lay-filter="orderDetail" :value="item.id" :title="item.value" lay-skin="primary" >
								</div>
							</div>
						</div>
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">客户管理详情业务信息操作权限:</label>
							<div class="layui-input-block libs" >
								<div class="layui-input-inline-checkbox liics">
									<input v-for="item in customerDetailList" type="checkbox" name="customerDetail" v-model="role.customerDetailList" lay-filter="customerDetail" :value="item.id" :title="item.value" lay-skin="primary" >
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="form-content-box">
			<div class="list-search-sup-title new-layui-title border-bottom-dashed">
				后台管理端功能操作权限
			</div>
			<div class="form-content-session-box">
				<div class="card">
					<div class="layui-row layui-form-row-content">
						<div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
							<label class="layui-form-label lfls">后台功能操作权限:</label>
							<div class="layui-input-inline">
								<ul id="menuTree" class="ztree"></ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="float-btn-group bottom-bar">
			<a class="layui-btn reset-btn"  @click="closePage" >取消</a>
			<a class="layui-btn search-btn" lay-submit lay-filter="saveOrUpdate">提交</a>
		</div>
	</form>
</div>
<script src="../../statics/js/modules/sys/roleedit.js"></script>
</body>
</html>